﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LuShanTea.Front.Web.Models
{
    public class CommentSubModel
    {
        [StringLength(500)]
        public string Content { get; set; } = "该用户无评论";

        [Required]
        [Range(1, long.MaxValue)]
        public long GoodId { get; set; }

        [Required]
        [Range(1, long.MaxValue)]
        public long OrderId { get; set; }

        [Required]
        [Range(1, long.MaxValue)]
        public long OrderRecordId { get; set; }

        [Required]
        [Range(1,5)]
        public int Level { get; set; }

        public string CommentImg { get; set; }
    }
}